﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace work1
{
    class work2
    {
        public static void Main(string[] args)
        {
            int sws = 0;
            int qfw, bfw, sfw, gw;
            Console.WriteLine("请输入一个四位数：");
            string sum = Console.ReadLine();
            sws = int.Parse(sum);
            Console.WriteLine("个位为：" + sws % 10);
            Console.WriteLine("十分位为：" + sws / 10 % 10);
            Console.WriteLine("百分位为：" + sws / 100 % 10);
            Console.WriteLine("千分位为：" + sws / 1000);

        }
    }
}
